package com.un.ebs.product.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import org.springframework.stereotype.Component;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 2
 * </p>
 *
 * @author liubo
 * @since 2020-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Component
@TableName("v_product_attr_value_ext")
public class ProductAttrValueExt extends Model<ProductAttrValueExt> {

    private static final long serialVersionUID=1L;

    private String id;

    private String attrId;

    private String attrName;

    private String attrCode;

    private String attrValue;

    private String classValueId;

    private Boolean isKey;

    private Boolean isMust;

    private Boolean isMulti;

    private Boolean isSale;

    private Boolean isColumnShow;

    private String productId;

    @TableLogic
    private Boolean isDelete;

    private String groupId;

    private String classAttrId;

    private Integer groupSort;

    private String groupName;

    private Integer sort;

    private Integer classAttrSort;

    @Override
    protected Serializable pkVal() {
        return null;
    }

}